package cn.duhengkui.national.valuelist.context;

import cn.duhengkui.national.valuelist.annotation.DataSourceType;

public class DBContextHolder {
	
	private static ThreadLocal<DataSourceType.Type> contextHolder = new ThreadLocal<DataSourceType.Type>();

	public static DataSourceType.Type getContextHolder() {
		return contextHolder.get();
	}

	public static void setContextHolder(DataSourceType.Type contextHolder) {
		DBContextHolder.contextHolder.set(contextHolder);
	}
	
	


}
